//引入 request 文件
import request from '@/util/request.js'

//广告列表
export const getAdvertisement = () => {
	return request({
	        url: '/home/advertisement/lselect',
	        method: 'get'
	})
};

// 标签列表
export const gettagList = () => {
    return request({
        url: '/home/tag/select',
        method: 'get',
    })
}


// 文章列表
export const articleList = (id,page) => {
    return request({
        url: '/home/article/select?id=' + id + "&page=" + page,
        method: 'get'
    })
}





// export const articleList = async () => {
//   return request({
//       url: '/home/article/select?id=' + id,
//       method: 'get'
//   })
// };


